package cn.stylefeng.guns.modular.system.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 售后单
 * </p>
 *
 * @author 小飞
 * @since 2019-07-11
 */
@TableName("after_indent_commit_check")
public class AfterIndentCommitCheck implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 关联售后订单id
     */
    @TableField("after_indent_commit_id")
    private Long afterIndentCommitId;

    /**
     * 0待审核 1，拓展部审核通过
     */
    @TableField("status_return")
    private Integer statusReturn;

    /**
     * 0，待审核 2，审核部审核通过
     */
    @TableField("status_service")
    private Integer statusService;

    /**
     * 创建时间
     */
    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    /**
     * 审核意见
     */
    @TableField("advice")
    private String advice;

    /**
     * 审核人id
     */
    @TableField("check_user_id")
    private Long checkUserId;

    /**
     * 1.通过，2不通过3退回
     */
    @TableField("status")
    private Integer status;


    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Long getAfterIndentCommitId() {
        return afterIndentCommitId;
    }

    public void setAfterIndentCommitId(Long afterIndentCommitId) {
        this.afterIndentCommitId = afterIndentCommitId;
    }

    public Integer getStatusReturn() {
        return statusReturn;
    }

    public void setStatusReturn(Integer statusReturn) {
        this.statusReturn = statusReturn;
    }

    public Integer getStatusService() {
        return statusService;
    }

    public void setStatusService(Integer statusService) {
        this.statusService = statusService;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getAdvice() {
        return advice;
    }

    public void setAdvice(String advice) {
        this.advice = advice;
    }

    public Long getCheckUserId() {
        return checkUserId;
    }

    public void setCheckUserId(Long checkUserId) {
        this.checkUserId = checkUserId;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    @Override
    public String toString() {
        return "AfterIndentCommitCheck{" +
        "id=" + id +
        ", afterIndentCommitId=" + afterIndentCommitId +
        ", statusReturn=" + statusReturn +
        ", statusService=" + statusService +
        ", createTime=" + createTime +
        ", advice=" + advice +
        ", checkUserId=" + checkUserId +
        ", status=" + status +
        "}";
    }
}
